package com.link.base.base.redpacketconfig.service;

import com.link.base.base.redpacketconfig.model.RedPktPayCfg;
import com.link.core.basic.service.BasicService;

/**
 * @author: 闫有霞
 * @date: 2019-01-23
 * @comments: 红包付款设置
 */
public interface RedPktPayCfgService extends BasicService<RedPktPayCfg> {

    /**
     *@createdBy 闫有霞
     *@date 2019/1/23
     *@methods: loadPayCfgToRedis
     *@param:   RedPktPayCfg entity
     *@return:  void
     *@description: 加载付款设置数据到Redis
     **/

    public void  loadPayCfgToRedis(RedPktPayCfg entity)throws Exception;


    /**
     * @createdBy 闫有霞
     * @date 2019/1/23
     * @methods: insertPayCfg
     * @param: RedPktPayCfg entity
     * @return: void
     * @description: 添加红包付款设置数据
     **/

    public void  insertPayCfg(RedPktPayCfg entity)throws Exception;

    /**
     *@createdBy 闫有霞
     *@date 2019/1/23
     *@methods: updatePayCfg
     *@param: RedPktPayCfg entity
     *@return: void
     *@description: 更新红包付款设置数据
     **/

    public void updatePayCfg(RedPktPayCfg entity) throws Exception;

}
